public class Main {
    public static void main(String[] args) {
        int[] arrays = new int[]{1,2,3,4};
        for(int i=0;i< arrays.length;i++){
            System.out.print(arrays[i]);
        }
        System.out.println();
        for (int x:arrays) {
            System.out.println(x);
        }
    }
}
